<%@page import="net.sf.json.JSONObject"%>
<%@page import="com.ai.dmc.index.web.util.SessionInfoUtil"%>
<%@page import="com.ai.dmc.index.common.bean.StaffSessBean"%>
<%@page contentType="text/html;charset=utf-8" language="java"%>

<%
	StaffSessBean staffSessBean = SessionInfoUtil.getStaffSessBean(session);
	String s = JSONObject.fromObject(staffSessBean).toString();
%>

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<title>Session信息</title>
	<link rel="stylesheet" href="../css/base.css">
	<style type="text/css">
		.wapper{width:800px; margin: 0 auto;}
		h2{text-align: center; padding: 20px 0;}
		.table{}
		.table div{background: #32b5cb; color: #fff; line-height: 30px; padding: 5px; font-weight: bold;}
		.table p{padding: 5px; line-height: 22px; border: 1px solid #32b5cb; word-break: break-all;}
		.backUrl{line-height: 22px;font-size:14px;}
	</style>
</head>

<body>
<div class="wapper">
	<h2>Session信息</h2>
	<ul class="table">
		<li>
			<div>用户名：</div>
			<p><%=staffSessBean.getUserName() %></p>
		</li>
		<li>
			<div>详细信息：</div>
			<p><%=s %></p>
		</li>
	</ul>
	<p align="right"><a href="../../zhly/index.jsp" class="backUrl">返回首页</a></p>
</div>
</body>
</html>

